3 |
How do I change the control's border, using your EBN files
Dim oStatusBar as P oStatusBar = topparent:CONTROL_ACTIVEX1.activex oStatusBar.BeginUpdate() oStatusBar.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn") oStatusBar.Appearance = 16777216 '1000000 + oStatusBar.VisualAppearance.Add(4,"c:\exontrol\images\border.ebn") oStatusBar.VisualAppearance.Add(5,"CP:4 1 1 -1 -1") oStatusBar.BackColorPanels = 83886080 oStatusBar.Format = "1,2,3,4,(5/6/7/8)" oStatusBar.Debug = .t. oStatusBar.EndUpdate() |
2 |
How do I remove the control's border
Dim oStatusBar as P oStatusBar = topparent:CONTROL_ACTIVEX1.activex oStatusBar.BeginUpdate() oStatusBar.Appearance = 0 oStatusBar.VisualAppearance.Add(4,"c:\exontrol\images\border.ebn") oStatusBar.VisualAppearance.Add(5,"CP:4 1 1 -1 -1") oStatusBar.BackColorPanels = 83886080 oStatusBar.Format = "1,2,3,4,(5/6/7/8)" oStatusBar.Debug = .t. oStatusBar.EndUpdate() |
1 |
How can I change the control's font
Dim f as P Dim oStatusBar as P oStatusBar = topparent:CONTROL_ACTIVEX1.activex oStatusBar.BeginUpdate() oStatusBar.VisualAppearance.Add(4,"c:\exontrol\images\border.ebn") oStatusBar.VisualAppearance.Add(5,"CP:4 1 1 -1 -1") oStatusBar.BackColorPanels = 83886080 f = OLE.Create("StdFont") f.Name = "Verdana" f.Size = 12 oStatusBar.Font = f oStatusBar.Format = "\"static text\"[fg=255][a=17],11,22,(33/44)" oStatusBar.EndUpdate() |